<script>
	export default {
		data() {
			return {
				code: "",
				provider: ""
			}
		},
		onLaunch: function(options) {
			//console.log(options)
			//如果是朋友圈单页面模式
			if (options.scene === 1154) {
				this.$store.commit("setSceneCode",options.scene)
				return;
			}
			console.log('App onLaunch')
		},
		onShow: function(options) {
			if (options.scene === 1154) {
				return;
			}
			this.$store.dispatch("noticeAction")
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {

		}
	}
</script>

<style>
	/*每个页面公共css */
</style>